<!DOCTYPE HTML>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org" >
<head>
    <title>Getting Started: Serving Web Content</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

    <!-- 引入静态文件css,js方式
    <link rel="stylesheet" th:href="@{/css/xxx.css}"/>
    <script type="text/javascript" th:src="@{/js/xxx.js}"></script>
    <script th:src="@{/js/jquery/1.11.0/jquery.js}"></script>
    -->
</head>
<body>


<script>
    <![CDATA[
    $(function(){
        alert("hello!");
    });
    ]]>
</script>
</body>
</html>